Skip to main content
Version: 8.4.10.2

LiveIVarSwapFixedTerm

V8 Message Definiton

LiveVarSwapFixedTerm records contain a live implied variance term record at standardized days-to-expiration.

METADATA

AttributeValue
Topic1000-analytics
MLink TokenSRMLinkAnalytics
ProductSRAnalytics
accessTypeSELECT

Table Definition

FieldTypeKeyDefault ValueComment
ticker_atenum - AssetTypePRI'None'
ticker_tsenum - TickerSrcPRI'None'
ticker_tkVARCHAR(12)PRI''
surfaceTypeenum - SurfaceCurveTypePRI'None'
iVarSwap_5dFLOAT0Interpolated 5 day integrated surface variance
iVarSwap_10dFLOAT0Interpolated 10 day integrated surface variance
iVarSwap_21dFLOAT0Interpolated 21 day integrated surface variance
iVarSwap_42dFLOAT0Interpolated 42 day integrated surface variance
iVarSwap_63dFLOAT0Interpolated 63 day integrated surface variance
iVarSwap_84dFLOAT0Interpolated 84 day integrated surface variance
iVarSwap_105dFLOAT0Interpolated 105 day integrated surface variance
iVarSwap_126dFLOAT0Interpolated 126 day integrated surface variance
iVarSwap_189dFLOAT0Interpolated 189 day integrated surface variance
iVarSwap_252dFLOAT0Interpolated 252 day integrated surface variance
iVarSwap_378dFLOAT0Interpolated 378 day integrated surface variance
iVarSwap_504dFLOAT0Interpolated 504 day integrated surface variance
statusenum - CurveStatus'None'
timeTIME(6)'00:00:00.000000'
timestampDATETIME(6)'1900-01-01 00:00:00.000000'update timestamp

PRIMARY KEY DEFINITION (Unique)

FieldSequence
ticker_tk1
ticker_at2
ticker_ts3
surfaceType4

CREATE TABLE EXAMPLE QUERY

CREATE TABLE `SRAnalytics`.`MsgLiveIVarSwapFixedTerm` (
`ticker_at` ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') NOT NULL DEFAULT 'None',
`ticker_ts` ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') NOT NULL DEFAULT 'None',
`ticker_tk` VARCHAR(12) NOT NULL DEFAULT '',
`surfaceType` ENUM('None','Live','PrevDay','Interp','Close','Test') NOT NULL DEFAULT 'None',
`iVarSwap_5d` FLOAT NOT NULL DEFAULT 0 COMMENT 'Interpolated 5 day integrated surface variance',
`iVarSwap_10d` FLOAT NOT NULL DEFAULT 0 COMMENT 'Interpolated 10 day integrated surface variance',
`iVarSwap_21d` FLOAT NOT NULL DEFAULT 0 COMMENT 'Interpolated 21 day integrated surface variance',
`iVarSwap_42d` FLOAT NOT NULL DEFAULT 0 COMMENT 'Interpolated 42 day integrated surface variance',
`iVarSwap_63d` FLOAT NOT NULL DEFAULT 0 COMMENT 'Interpolated 63 day integrated surface variance',
`iVarSwap_84d` FLOAT NOT NULL DEFAULT 0 COMMENT 'Interpolated 84 day integrated surface variance',
`iVarSwap_105d` FLOAT NOT NULL DEFAULT 0 COMMENT 'Interpolated 105 day integrated surface variance',
`iVarSwap_126d` FLOAT NOT NULL DEFAULT 0 COMMENT 'Interpolated 126 day integrated surface variance',
`iVarSwap_189d` FLOAT NOT NULL DEFAULT 0 COMMENT 'Interpolated 189 day integrated surface variance',
`iVarSwap_252d` FLOAT NOT NULL DEFAULT 0 COMMENT 'Interpolated 252 day integrated surface variance',
`iVarSwap_378d` FLOAT NOT NULL DEFAULT 0 COMMENT 'Interpolated 378 day integrated surface variance',
`iVarSwap_504d` FLOAT NOT NULL DEFAULT 0 COMMENT 'Interpolated 504 day integrated surface variance',
`status` ENUM('None','Normal','Closed') NOT NULL DEFAULT 'None',
`time` TIME(6) NOT NULL DEFAULT '00:00:00.000000',
`timestamp` DATETIME(6) NOT NULL DEFAULT '1900-01-01 00:00:00.000000' COMMENT 'update timestamp',
PRIMARY KEY USING HASH (`ticker_tk`,`ticker_at`,`ticker_ts`,`surfaceType`)
) ENGINE=SRSE DEFAULT CHARSET=LATIN1 COMMENT='LiveVarSwapFixedTerm records contain a live implied variance term record at standardized days-to-expiration.';

SELECT TABLE EXAMPLE QUERY

SELECT
`ticker_at`,
`ticker_ts`,
`ticker_tk`,
`surfaceType`,
`iVarSwap_5d`,
`iVarSwap_10d`,
`iVarSwap_21d`,
`iVarSwap_42d`,
`iVarSwap_63d`,
`iVarSwap_84d`,
`iVarSwap_105d`,
`iVarSwap_126d`,
`iVarSwap_189d`,
`iVarSwap_252d`,
`iVarSwap_378d`,
`iVarSwap_504d`,
`status`,
`time`,
`timestamp`
FROM `SRAnalytics`.`MsgLiveIVarSwapFixedTerm`
WHERE
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') */
`ticker_at` = 'None'
AND
/* Replace with a ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') */
`ticker_ts` = 'None'
AND
/* Replace with a VARCHAR(12) */
`ticker_tk` = 'Example_ticker_tk'
AND
/* Replace with a ENUM('None','Live','PrevDay','Interp','Close','Test') */
`surfaceType` = 'None';

Doc Columns Query

SELECT * FROM SRAnalytics.doccolumns WHERE TABLE_NAME='LiveIVarSwapFixedTerm' ORDER BY ordinal_position ASC;